package com.hd.mapper;


import com.hd.controller.dto.NoticeInfoDto;
import com.hd.pojo.NoticeInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 1 on 2017/12/1.
 */
public interface NoticeInfoMapper extends BaseMapper<NoticeInfo> {

    List<NoticeInfo> searchNoticeInfo(@Param("offset") Integer offset, @Param("limit") Integer limit, @Param("dto") NoticeInfoDto dto);

    Integer getTotal(@Param("dto")NoticeInfoDto dto);

    NoticeInfo viewNoticeInfo(Integer noticeId);
}
